package org.carpediem.conman.dao;

import org.carpediem.conman.entity.Contact;
import org.carpediem.conman.entity.Note;
import org.carpediem.schema.conman.NoteInfo;

import java.util.List;

/**
 * @author Mark Petrovic
 */
abstract public class NoteDao extends AbstractDao {
    abstract public Note get(long id);

    abstract public List<Note> getByOwner(Contact contact);

    abstract public Note add(Contact c, NoteInfo n);

}
